NexusPi Git Node
Commit 3a511e8a111c7852c3899548084994f4f0ad966d
Parents : a3ea18b
Author : James L <jrl290@gmail.com>
Date : 2026-02-28T15:21:34-05:00
v1.0.15: Default TX power to board PA_MAX_OUTPUT
- Add PA_MAX_OUTPUT define: V3=22, V4=28, default=20
- Captive portal TX power field now defaults to board max
Changes
Diff
diff --git a/Boards.h b/Boards.h
index e319b63..22bb28d 100755
--- a/Boards.h
+++ b/Boards.h
@@ -379,6 +379,8 @@
#define HAS_BUSY true
#define DIO2_AS_RF_SWITCH true
+ #define PA_MAX_OUTPUT 22
+
// Following pins are for the SX1262
const int pin_cs = 8;
const int pin_busy = 13;
@@ -935,6 +937,10 @@
#define OCP_TUNED 0x18
#endif
+ #ifndef PA_MAX_OUTPUT
+ #define PA_MAX_OUTPUT 20
+ #endif
+
#ifndef NP_M
#define NP_M 0.15
#endif
diff --git a/BoundaryConfig.h b/BoundaryConfig.h
index 0e9f11d..7e9809d 100644
--- a/BoundaryConfig.h
+++ b/BoundaryConfig.h
@@ -79,7 +79,7 @@ static void config_send_html() {
int cur_sf = lora_sf;
int cur_cr = lora_cr;
int cur_txp = lora_txp;
- if (cur_txp == 0xFF) cur_txp = 28; // Default TX power
+ if (cur_txp == 0xFF) cur_txp = PA_MAX_OUTPUT; // Default to board max
// Default frequency if not set
if (cur_freq == 0) cur_freq = 914875000; // 914.875 MHz default
Served by rngit 1.4.2 - Generated in 0.02s